#ifndef WHALEPLUGINSTARTER_H
#define WHALEPLUGINSTARTER_H

#include <QAction>

class WhalePlugin;

class WhalePluginStarter : public QAction {
    Q_OBJECT

    public:
        WhalePluginStarter( QObject * parent = 0 );
        WhalePluginStarter( const QIcon &icon, const QString & text, QObject * parent = 0 );

        void setPlugin( WhalePlugin * plugin );
        WhalePlugin * plugin();

    private:
        WhalePlugin * mPlugin;
};

#endif
